package com.fishery.base.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author Ghost
 * @since 2021-01-15
 */
@TableName("t_base")
@ApiModel(value = "Base对象", description = "")
public class Base implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;

	@ApiModelProperty(value = "基地名称")
	private String name;

	@ApiModelProperty(value = "基地简介")
	private String introduction;

	@ApiModelProperty(value = "基地地址")
	private String address;

	@ApiModelProperty(value = "地址经度")
	private String positionLongitude;

	@ApiModelProperty(value = "地址纬度")
	private String positionLatitude;

	@ApiModelProperty(value = "创建者")
	private String creator;

	@ApiModelProperty(value = "营业执照注册号")
	private String registerNumber;

	@ApiModelProperty(value = "注册资金（万元）")
	private BigDecimal funds;

	@ApiModelProperty(value = "营业范围")
	private String scope;

	@ApiModelProperty(value = "基地图片")
	private String picture;

	@ApiModelProperty(value = "创建时间", hidden = true)
	private Date gmtCreate;

	@ApiModelProperty(value = "修改时间", hidden = true)
	private Date gmtModified;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPositionLongitude() {
		return positionLongitude;
	}

	public void setPositionLongitude(String positionLongitude) {
		this.positionLongitude = positionLongitude;
	}

	public String getPositionLatitude() {
		return positionLatitude;
	}

	public void setPositionLatitude(String positionLatitude) {
		this.positionLatitude = positionLatitude;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getRegisterNumber() {
		return registerNumber;
	}

	public void setRegisterNumber(String registerNumber) {
		this.registerNumber = registerNumber;
	}

	public BigDecimal getFunds() {
		return funds;
	}

	public void setFunds(BigDecimal funds) {
		this.funds = funds;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	@Override
	public String toString() {
		return "Base{" +
				"id=" + id +
				", name=" + name +
				", introduction=" + introduction +
				", address=" + address +
				", positionLongitude=" + positionLongitude +
				", positionLatitude=" + positionLatitude +
				", creator=" + creator +
				", registerNumber=" + registerNumber +
				", funds=" + funds +
				", scope=" + scope +
				", picture=" + picture +
				", gmtCreate=" + gmtCreate +
				", gmtModified=" + gmtModified +
				"}";
	}
}
